Skip to content

ensure htmx processes dynamically-loaded content #6467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

escattone
Copy link
Contributor

@escattone escattone commented Jan 21, 2025

mozilla/sumo#2137
mozilla/sumo#2138

This was something I missed in #6460.

Any dynamically-loaded content that contains elements with htmx attributes, and has been loaded by something other than htmx, must have htmx.process(...) applied in order to ensure that the htmx event handlers are added.

@escattone escattone merged commit a283b34 into mozilla:main Jan 22, 2025
1 of 2 checks passed
@escattone escattone deleted the fix-2138 branch January 22, 2025 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant